# 定义字典存储5个人喜欢的数字
favorite_numbers = {
    'Tom': [1,2,3],
    'Jerry':[12,13,14],
    'Jack': [22,23,14],
    'James': [34,35,36],
    'Lucy': [43,45,46],
}

# 遍历字典，打印每个人喜欢的数字
for name,number in favorite_numbers.items():
    print(f"\n{name.title()}喜欢的数字有：")
    for n in number:
        print(f"\t{n}")